using System.Collections.Generic;
using UnityEngine;

/// <summary>
/// 火炬树桩技能数据
/// </summary>
[CreateAssetMenu(menuName = "创建ScriptableObject/SkillData/Plants/TorchwoodSkillData")]
public class TorchwoodSkillData : SkillData
{
    [Header("火炬效果")]
    [Tooltip("伤害加成倍数")]
    public float DamageMultiplier = 2.0f;
    
    [Tooltip("影响范围（半径）")]
    public float EffectRange = 1.0f;
    
    [Tooltip("是否将普通豌豆转换为火焰豌豆")]
    public bool ConvertToFirePea = true;
    
    [Tooltip("额外火焰伤害")]
    public long FireDamageBonus = 0;
    
    [Tooltip("火焰持续时间（秒）")]
    public float FireDuration = 1.0f;
    
    [Tooltip("火焰每秒伤害")]
    public int FireDamagePerSecond = 10;

    [Header("子弹转换配置")]
    [Tooltip("火焰子弹预制体（用于替换普通子弹外观）")]
    public GameObject FireBulletPrefab;

    [Tooltip("转换后要添加的Buff列表")]
    public List<BuffData> BuffsToAdd = new List<BuffData>();

    [Tooltip("转换后要添加的效果列表")]
    public List<InstantEffectData> EffectsToAdd = new List<InstantEffectData>();
}

